<template>
  <div>
    <div class="box">
      <router-link to="/item1" class="one">
        demo1
      </router-link>
      <router-link to="/item2" class="one">
        demo2
      </router-link>
    </div>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'Home-Demo'
}
</script>

<style scoped lang="less">
.box {
  width: 100%;
  height: 80px;
  background-color: tomato;
  text-align: center;
  line-height: 80px;

  .one {
    margin-left: 10px;
    font-size: 32px;
  }
}
</style>
